<div id="org" style="width: {{$width}}"></div>

<script src="{{asset('layui/modules/xm-select.js')}}"></script>
<script src="{{asset('js/tree/select.js')}}"></script>
<script>
    layui.use(['xmSelect'], function () {
        var xmSelect = layui.xmSelect;
        let params = selectTreeParams('#org', '{{$name}}', '请选择', "{{$select}}", JSON.parse('{!! $orgs !!}'), function (data) {
        });
        xmSelect.render(params);
    })
</script>
